<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>布尔类型</title>
</head>

<body>
    <script type="text/javascript">
        let b1 = Boolean("");
        let b2 = Boolean("s");
        let b3 = Boolean(0);
        let b4 = Boolean(1);
        document.write(b1 + "<br/>");
    </script>
</body>

</html>